<h3>Registro de Usuario</h3>

<%= error_messages_for :usuario %>
<br>
<% form_for :usuario, :url => usuarios_path do |f| -%>
<p><label for="login">Cedula</label><br/>
<%= f.text_field :login, :size => 10 %></p>

<p><label for="email">Correo Electronico</label><br/>
<%= f.text_field :email, :size => 20 %></p>

<p><label for="password">Clave</label><br/>
<%= f.password_field :password, :size => 10 %></p>

<p><label for="password_confirmation">Confirmar Clave</label><br/>
<%= f.password_field :password_confirmation, :size => 10 %></p>

<p><%= submit_tag 'Registrar' %></p>
<% end -%>
